package com.goods.book.service;

import com.goods.entity.Book;
import com.goods.mapper.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookService {
    @Autowired
    private BookMapper bookMapper;

    public List<Book> selectBooksByCase(Book book) {
        return bookMapper.selectBooksByCase(book);
    }

    public List<Book> selectBooksByCasePage(Book book) {
        return bookMapper.selectBooksByCasePage(book);
    }
}
